<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<style>
			*{
				padding: 0;
				margin: 0;
			}
			a{
				text-decoration: none;
			}
			.xp1{
				padding: 8px 0 0 0;
			}
			.xli1{
				width: 369px;
				height: 360px;
			}
			.xa1{
				float: left;
    			width: 200px;
    			height: 45px;
    			background: #f85e46;
    			color: #fff;
    			font-size: 16px;
    			font-weight: 700;
    			text-align: center;
    			line-height: 45px;
    			margin: 30px 0 10px;
			}
			.xsp2{
				color: red;
				font-size: x-large;
			}
			.xi1{
				height: 200px;
				width: 450px;
			}
			.xi2{
				width: 210px;
				height: 210px;
			}
			.xi3{
				width: 180px;
				height: 180px;
				margin: 80px 0 0 0px;
			}
			.xi4{
				width: 800px;
				height: 450px;
			}
			.xh1{
				font-size: 20px;
    			max-width: 450px;
    			text-overflow: ellipsis;
    			font-weight: 800;
			}
			.xh2{
				width: 1180px;
				height: 45px;
				padding: 12px 0 0 0;
				border-bottom: solid #E8E8E8 1px;
			}
			.xdd1{
				float: left;
				background-color: white;
				width: 830px;
			}
			.xd1{
				width: 1800px;
				height: 200px;
				/*background-color: #008000;*/
				margin: 0 auto;
				border-bottom: solid cornflowerblue 3px;
				background-color: white;
			}
			#xd1z1{
				width: 1200px;
				height: 200px;
				margin: 0 auto;
				/*background-color: red;*/
			}
			.xd2{
				width: 1200px;
				margin: 10px auto 0px;
				border: solid #e8e8e8 1px;
				background-color: white;
			}
			#xd2z1{
				width: 210px;
				height: 210px;
				padding: 40px 0 0 40px;
				float: left;
			}
			#xd2z2{
				width: 550px;
				height: 220px;
				padding: 40px 0 0 0;
				margin: 0 0 0 30px;
				float: left;
				max-width: 550px;
			}
			#xd2z3{
				width: 350px;
				height: 360px;
				border-left: solid #e8e8e8 1px;
				float: left;
				background-color: white;
				text-align: center;
			}
			#xd2z4{
				float: left;
				width: 430px;
				height: 50px;
				text-align: center;
				padding: 0 0 50px 400px;
			}
			.xd3{
				width: 1200px;
				height: 800px;
				background-color: #F6F6F6;
				margin: 360px auto 0;
			}
			.dd2{
				width: 1180px;
				height: 800px;
				/*margin: 360px auto 0;*/
				background-color: white;
			}
			#xd3z1{
				width: 60px;
				height: 120px;
				float: left;
				background-color: green;
				margin: 240px 20px 0 105px;
			}
			#xd3z2{
				width: 800px;
				height: 450px;
				background-color: red;
				margin: 60px auto;
				float: left;
			}
			#xd3z3{
				width: 60px;
				height: 120px;
				float: left;
				background-color: green;
				margin: 240px 105px 0 20px;
			}
		</style>
	</head>
	<body bgcolor="#F6F6F6">
		<div class="xd1">
			<div id="xd1z1">
				<img src="img/xi1.jpg" class="xi1"></img>
			</div>
		</div>			
		<div class="xd2">
			<div class="xdd1">
			<div id="xd2z1">
				<img src="img/c1.png" class="xi2"/>
			</div>
			<div id="xd2z2">
				<h2 class="xh1">
					【有防沉迷 粉装数量30+ 特效枪数量0 套装数量30+ 枪皮数量30+】和平精英销售
				</h2>
				<br />
				<br />
				<span class="xsp1">商品价格：</span>
				&nbsp;
				<span class="xsp2">￥500.00</span>
				&nbsp;&nbsp;&nbsp;&nbsp;
				<img src="img/xi3.png" />
				<br />
				<br />
				<br />
				<span class="xsp1">游戏服区：安卓</span>
			</div>
			<div id="xd2z4">
				<a class="xa1" href="y.html" onclick="chu()" target="_blank">点击购买</a>
				<script>
					function chu(){
						alert("请先登录");
					}
				</script>
			</div>
			</div>
			<div id="xd2z3">
				<img src="img/2wm.png" class="xi3" />
				<p class="xp1">扫码了解更多关于</p>
			</div>
		</div>
		<br />
		<div class="xd3">
			<div class="dd2">
				<h2 class="xh2">商品详情：</h2>
				<div id="xd3z1">
					<img src="img/捕获1.PNG"  onclick="zuo()"/>
				</div>
				<div id="xd3z2">
					<img  src="img/xx1.jpg" class="xi4" id="xi4"/>
				</div>
				<div id="xd3z3">
					<img src="img/捕获2.PNG" onclick="yo()"/>
				</div>
				<script>
					var k=1;
					function zuo(){
						var a=document.getElementById("xi4");
						k--;
						if(k==0){
							k=4;
						}
						a.src="img/"+"xx"+k+".jpg";
					}
					function yo(){
						var a=document.getElementById("xi4");
						k++;
						if(k==5){
							k=1;
						}
						a.src="img/"+"xx"+k+".jpg";
					}
				</script>
			</div>
		</div>
	</body>
</html>
